﻿using FarmSmartSleep.Common.Domain.PM;
using FarmSmartSleep.Common.Dtos;
using MediatR;

namespace FarmSmartSleep.Organ.API.Application.ProductionManagement.FemaleRen
{
    public class FemaleRenCreateCommand : IRequest<Result>
    {
        public int EwePregnancyCheckRecordId { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string Leader { get; set; }

        /// <summary>
        /// 妊娠检查的日期
        /// </summary>
        public DateTime PregnancyTestDate { get; set; }

        /// <summary>
        /// 羊只的耳号
        /// </summary>
        public int EarNo { get; set; }

        /// <summary>
        /// 妊娠检查结果（如：怀孕、不怀孕）
        /// </summary>
        public int PregnancyTestResult { get; set; }

        /// <summary>
        /// 妊娠检查方式（如：B超、触诊）
        /// </summary>
        public int PregnancyTestMethod { get; set; }

        /// <summary>
        /// 同胎数
        /// </summary>
        public int LitterCount { get; set; }

        /// <summary>
        /// 妊娠天数（从配种到当前天数）
        /// </summary>
        public int PregnancyDays { get; set; }

        /// <summary>
        /// 当前所在的栋舍
        /// </summary>
        public int CurrentBarn { get; set; }
        //public int CurrentBarnId { get; set; }//当前栋舍

        /// <summary>
        /// 当前所在的栏位
        /// </summary>
        public int CurrentPen { get; set; }

        //public int CurrentPenId { get; set; }//当前栏位

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int TransferBarn { get; set; }

        //public int TransferBarnId { get; set; }//转入的栋舍

        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPen { get; set; }

        //public int TransferPenId { get; set; }//转入的栏位
        /// <summary>
        /// 备注
        /// </summary>
        public int Notes { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }

        /// <summary>
        /// 妊检的流水号
        /// </summary>
        public string SerialNo { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deletes { get; set; } = false;
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
